package service;

import pojo.Businesses;
import util.PageHelper;

import java.util.ArrayList;

public interface IBusinessManagementService {
    //业务管理
    //业务查看(动态模糊查询,带分页)
    ArrayList<Businesses> queryBusiness(Businesses businesses, PageHelper pageHelper);
    //业务信息数量查询
    int queryCountBusiness(Businesses businesses);
    //创建业务(参数为业务对象)
    boolean addBusiness(Businesses businesses);
    //业务信息修改(根据业务对象)
    boolean changeBusiness(Businesses businesses);
    //根据id删除
    boolean removeBusinesses(Integer bId);
    //无条件全数据查询
    ArrayList<Businesses> queryAllBusinesses();
    //根据id查数据详情
    ArrayList<Businesses> queryBusinessById(Integer bId);
}
